package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 车辆类型
 * </p>
 *
 * @author lwj
 * @since 2022-07-20
 */
@Data
public class VehicleTypeUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @NotNull(message = "ID不能为空")
    private Integer id;

    @ApiModelProperty(value = "类型名称")
    @NotBlank(message = "车辆类型名称不能为空")
    private String name;

    @ApiModelProperty(value = "禁用状态")
    @NotNull(message = "禁用状态不能为空")
    private Boolean disable;
}
